package Message;

import reso.ip.IPAddress;
import DSRStructure.DSRRoutingEntry;

public class RREPMessage extends DSRMessage
implements Cloneable
{

	public RREPMessage(IPAddress addrdestination,DSRRoutingEntry route) {
		super(DSRMessage.Type.RREP, addrdestination, route);
	}

	public RREPMessage(RREPMessage message){
		this.id = message.id ;
		this.ipAddrDest = message.ipAddrDest ;
		this.type = message.type ;
		this.route = message.route.clone() ;
	}
}
